package com.hhit.zhgd.service

import com.baomidou.mybatisplus.core.metadata.IPage
import com.baomidou.mybatisplus.extension.service.IService
import com.hhit.zhgd.domain.dto.BackStageAddArchiveFileMenuDTO
import com.hhit.zhgd.domain.dto.BackStageArchiveSituationDTO
import com.hhit.zhgd.domain.entity.ZhgdArchiveSituation
import com.hhit.zhgd.domain.excelimport.CatalogNode
import com.hhit.zhgd.domain.response.BaseResp
import org.springframework.web.multipart.MultipartFile

interface ZhgdArchiveSituationService:IService<ZhgdArchiveSituation> {
    @Throws(Exception::class)
    fun importArchiveFile(multipartFile: MultipartFile?): BaseResp<Any?>

    @Throws(Exception::class)
    fun importArchiveFileNew(multipartFile: MultipartFile?): BaseResp<Any?>

    @Throws(Exception::class)
    fun importArchiveSingleFile(multipartFile: MultipartFile?, id: Int): BaseResp<Any?>

    fun getArchiveFileInfo(): List<CatalogNode?>?

    fun getArchiveFileMenuList(): List<CatalogNode?>?

    fun addArchiveFileMenu(backStageAddArchiveFileMenuDTO: BackStageAddArchiveFileMenuDTO?): BaseResp<Any?>

    fun editArchiveFileMenu(backStageAddArchiveFileMenuDTO: BackStageAddArchiveFileMenuDTO?): BaseResp<Any?>

    fun delArchiveFileMenu(id: Int?): BaseResp<Any?>

    fun getArchiveFilePageInfo(id: Int?, keyWord: String?, page: Int, size: Int): IPage<BackStageArchiveSituationDTO>?
}